<!DOCTYPE html>
<html>
    <head>
        <title><?php echo $template['title']; ?></title>
        <?php $this->carabiner->display('jquery');?>
        <?php $this->carabiner->display('jqueryui');?>
        <?php $this->carabiner->display('js');?>
        <?php $this->carabiner->display('css');?>
        <?php echo $template['metadata']; ?>
    </head>
    <body>
		<div id="top-nav">
			<ul>
				<li><a href="<?php print base_url();?>"><?php print $template['partials']['account-name']?></a></li>
				<li><a href="<?php print base_url('home');?>">Home</a></li>
				<li><a href="<?php print base_url('home/profile');?>">Profile</a></li>
				<li><a href="<?php print base_url('users/settings');?>">Account Settings</a></li>
				<li><a href="<?php print base_url('users/logout');?>">Logout</a></li>
			</ul>
		</div>
        <div id="page-wrapper" class="container_24">
            <div id="left-wrapper" class="grid_5">
                <?php echo $template['partials']['sidebar-left']; ?>
            </div>
            <div id="right-wrapper" class="grid_19">
                <div class="content">
                    <?php echo $template['body']; ?>
                </div>
            </div>
            </div>
            <div id="footer">
            </div>
            </div>
        </div>
    </body>
</html>
